package com.applet.system.entity;

import java.util.Date;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.FieldDefaults;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@FieldDefaults(makeFinal=false,level=AccessLevel.PROTECTED)
public class LoginLog {

	Long id;
	
	String userName;
	
	String ip;
	
	Date loginTime;

	public LoginLog(String userName, String ip) {
		super();
		this.userName = userName;
		this.ip = ip;
		loginTime=new Date();
	}
	
}
